package cn.edu.fzu.delivery.domain.entity;

import cn.edu.fzu.delivery.domain.enums.DeliveryStatusEnum;
import com.alibaba.fastjson.annotation.JSONField;
import lombok.Data;

import java.util.Date;

/**
 * @author jiebin
 * @data 2022/11/13
 **/
@Data
public class CourierDelivery {
    private Long               id;
    //快递
    private Courier            courier;
    //快递员
    private SysUser            deliveryMan;
    //派送状态
    private DeliveryStatusEnum status;
    //目的网点
    private Network            destNetWork;
    //开始派送时间
    @JSONField(format = "yyyy-MM-dd HH:mm:ss")
    private Date               createTime;
    //完成派送时间
    @JSONField(format = "yyyy-MM-dd HH:mm:ss")
    private Date               endTime;
}
